package com.framework;

import com.zhouyu.service.FactoryService;
import org.springframework.beans.factory.FactoryBean;
import org.springframework.stereotype.Component;

/**
 * FactoryBean 实例 FactoryService
 *
 * @author zhaojy
 * @date 2025/11/17-2:46 下午
 */
@Component
public class ZhouyuFactoryBean implements FactoryBean<FactoryService> {

	@Override
	public FactoryService getObject() throws Exception {
		return new FactoryService();
	}

	@Override
	public Class<?> getObjectType() {
		return FactoryService.class;
	}
}
